<?php
	$ms_mt_rv = $_REQUEST['mt_rv'];
	$ngay = date('Y-m-d');
	include "../connect.php";
	
	$sql = "UPDATE mau_tin_rv 
			SET giay_phep = 1,
				ngay_dang = '$ngay' 
			WHERE ms_mau_tin_rv = $ms_mt_rv";
	$rs = mysql_query($sql);
	if($rs){
		echo "<script>
		 	location.href='../index.php?noidung=dsmt_rv';
			</script>";
	}
?>